package gamagora.game.world.maps.game
{
	import gamagora.game.world.maps.OSMap;
	import gamagora.game.entity.*;

	public class OSMap19 extends OSMap
	{
		public function OSMap19()
		{
			super();

			var ground:OSGround = new OSGround(0, 1040, 960, 40, 0, false);
			ground.setNoErosionUp([6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47]);
			ground.setNoErosionDown([48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95]);
			ground.setNoErosionLeft([0, 48]);
			ground.setNoErosionRight([47, 95]);
			ground.erode();
			add(ground);

			ground = new OSGround(0, 0, 1040, 40, 0, false);
			ground.setNoErosionUp([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41]);
			ground.setNoErosionRight([41, 83]);
			ground.erode();
			add(ground);

			ground = new OSGround(120, 160, 200, 880, 0, false);
			ground.setNoErosionDown([430, 431, 432, 433, 434, 435, 436, 437, 438, 439]);
			ground.setNoErosionRight([9, 19, 29, 39, 49, 59, 69, 79, 89, 99, 109, 119, 129, 139, 149, 159, 169, 179, 189, 199, 209, 219, 229, 239, 249, 259, 269, 279, 289, 299, 309, 319, 329, 339, 349, 359, 369, 379, 389, 399, 409, 419, 429, 439]);
			ground.erode();
			add(ground);

			add(new OSCage(320, 156, false));

			ground = new OSGround(320, 220, 520, 820, 0, false);
			ground.setNoErosionUp([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25]);
			ground.setNoErosionDown([1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065]);
			ground.setNoErosionLeft([0, 26, 52, 78, 104, 130, 156, 182, 208, 234, 260, 286, 312, 338, 364, 390, 416, 442, 468, 494, 520, 546, 572, 598, 624, 650, 676, 702, 728, 754, 780, 806, 832, 858, 884, 910, 936, 962, 988, 1014, 1040]);
			ground.setNoErosionRight([25, 51, 77, 103, 129, 155, 181, 207, 233, 259, 285, 311, 337, 363, 389, 415, 441, 467, 493, 519, 545, 571, 597, 623, 649, 675, 701, 727, 753, 779, 805, 831, 857, 883, 909, 935, 961, 987, 1013, 1039, 1065]);
			ground.erode();
			add(ground);

			add(new OSCage(580, 156, false));

			ground = new OSGround(840, 160, 120, 880, 0, false);
			ground.setNoErosionDown([258, 259, 260, 261, 262, 263]);
			ground.setNoErosionLeft([18, 24, 30, 36, 42, 48, 54, 60, 66, 72, 78, 84, 90, 96, 102, 108, 114, 120, 126, 132, 138, 144, 150, 156, 162, 168, 174, 180, 186, 192, 198, 204, 210, 216, 222, 228, 234, 240, 246, 252, 258]);
			ground.setNoErosionRight([5, 11, 17, 23, 29, 35, 41, 47, 53, 59, 65, 71, 77, 83, 89, 95, 101, 107, 113, 119, 125, 131, 137, 143, 149, 155, 161, 167, 173, 179, 185, 191, 197, 203, 209, 215, 221, 227, 233, 239, 245, 251, 257, 263]);
			ground.erode();
			add(ground);

		}
	}
}
